from app import db
from app.entity.BaseEntity import BaseEntity


class TestBase(db.Model, BaseEntity):
    __abstract__ = True

    id = db.Column(db.Integer, primary_key=True)
    age = db.Column(db.Integer)
    name = db.Column(db.String)


class Test(TestBase):
    __tablename__ = 'test'
